package com.hl.client2.feignService.feignHystrix;

import com.hl.client2.feignService.FeignService;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;
@Component
public class FignHystrix implements FeignService {
    @Override
    public String hello(@RequestParam(value = "name") String name) {
        return "访问失败：目标服务异常";
    }
}
